<template>
  <el-form :model="form9" label-width="auto" style="max-width: 1300px;min-width: 1300px">
    <div class="common-layout">
      <el-container>
        <el-main>
          <!--标题-->
          <el-row>
            <el-col :span="24">
              <div class="grid-content ep-bg-purple-dark the_font_is_bold"/>
              <h1 style="font-size: 40px">
                JGH-1000D/1400A/1800B干泵机组电控系统检验记录
              </h1>
            </el-col>
          </el-row>
          <!--Case-->
          <el-row>
            <el-col :span="3" >
              <div class="grid-content ep-bg-purple"/>
              <span class="fontSize the_font_is_bold">Case</span>
            </el-col>
            <el-col :span="21">
              <el-input
                  v-model="form9.input_Case"
                  style="width: 100%;height: 24px"
                  placeholder="请输入"
                  clearable
              />
            </el-col>
          </el-row>
          <!--标头-->
          <el-row>
            <el-col :span="3">
              <div class="grid-content ep-bg-purple"/>
              <span class="fontSize the_font_is_bold">泵组编号</span>
            </el-col>
            <el-col :span="5">
              <div class="grid-content ep-bg-purple"/>
              <el-input
                  v-model="form9.input_Pump_set_number"
                  style="width: 100%;height: 24px"
                  placeholder="请输入"
                  clearable
              />
            </el-col>
            <el-col :span="3">
              <div class="grid-content ep-bg-purple"/>
              <span class="fontSize the_font_is_bold">检验人</span>
            </el-col>
            <el-col :span="5">
              <div class="grid-content ep-bg-purple"/>
              <el-input
                  v-model="form9.input_Inspectors"
                  style="width: 100%;height: 24px"
                  placeholder="请输入"
                  clearable
              />
            </el-col>
            <el-col :span="3">
              <div class="grid-content ep-bg-purple"/>
              <span class="fontSize the_font_is_bold">日期</span>
            </el-col>
            <el-col :span="5">
              <div class="grid-content ep-bg-purple"/>
              <el-date-picker
                  v-model="form9.input_Date"
                  style="width: 100%;height: 24px"
                  type="datetime"
                  value-format="YYYY-MM-DD HH:mm"
                  placeholder="请选择时间"
                  clearable
              />
            </el-col>
          </el-row>
          <!--机组上电前检验-->
          <el-row>
            <el-col :span="2">
              <div class="grid-content ep-bg-purple"/>
              <div style="height:170px;display: flex;align-items: center; /* 垂直居中 */justify-content: center; /* 水平居中 */">
                <span class="fontSize text_is_vertical ">
                  机组上电前检验
                </span>
              </div>
            </el-col>
            <el-col :span="22" >
              <el-row>
                <el-col :span="8"  style="height: 30px">
                  <div class="grid-content ep-bg-purple"/>
                  <span class="the_font_is_bold">选项</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <span class="the_font_is_bold">结论</span>
                </el-col>
                <el-col :span="8" >
                  <div class="grid-content ep-bg-purple"/>
                  <span class="the_font_is_bold">选项</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <span class="the_font_is_bold">结论</span>
                </el-col>
              </el-row>
              <!--机组上电前检验-->
              <el-row>
                <el-col :span="8" class="text_is_on_the_left" style="height: 50px">
                  <div class="grid-content ep-bg-purple"/>
                  <span>主板各接插件插接位置是否正确，是否可靠连接<br>（对照后附的主板接插件连接图）</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_1_1">
                    <el-radio value="是" size="large" class=""><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" class=""><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
                <el-col :span="8" class="text_is_on_the_left">
                  <div class="grid-content ep-bg-purple"/>
                  <span>上、下泵温度传感器屏蔽线是否接地</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_1_2">
                    <el-radio value="是" size="large" class=""><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" class=""><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
              </el-row>
              <el-row >
                <el-col :span="8" class="text_is_on_the_left" style="height: 50px">
                  <div class="grid-content ep-bg-purple"/>
                  <span>排气压力传感器接线是否正确，连接是否可靠</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_2_1">
                    <el-radio value="是" size="large" class=""><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" class=""><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
                <el-col :span="8" class="text_is_on_the_left">
                  <div class="grid-content ep-bg-purple"/>
                  <span>质量流量计接线是否正确，连接是否可靠</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_2_2">
                    <el-radio value="是" size="large" class=""><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" class=""><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
              </el-row>
              <el-row >
                <el-col :span="8" class="text_is_on_the_left" style="height: 50px">
                  <div class="grid-content ep-bg-purple"/>
                  <span>电源箱内接线正确、无虚连、松动,各断路器均<br>已拨置ON的位置。</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_3_1">
                    <el-radio value="是" size="large" class=""><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" class=""><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
                <el-col :span="8" class="text_is_on_the_left">
                  <div class="grid-content ep-bg-purple"/>
                  <span>变频器箱内接线正确、无虚连、松动</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_3_2">
                    <el-radio value="是" size="large" class=""><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" class=""><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
              </el-row>

            </el-col>
          </el-row>
          <!--机组上电后检验-->
          <el-row>
            <el-col :span="2">
              <div class="grid-content ep-bg-purple"/>
              <div style="height:250px;display: flex;align-items: center; /* 垂直居中 */justify-content: center; /* 水平居中 */">
                <span class="fontSize text_is_vertical ">
                  机组上电后检验
                </span>
              </div>
            </el-col>
            <el-col :span="22" >
              <!--机组上电后检验-->
              <el-row>
                <el-col :span="8" class="text_is_on_the_left" style="height: 50px">
                  <div class="grid-content ep-bg-purple"/>
                  <span>机组上电后，手控盒是否点亮，手控盒图片版本是否与主板程序匹配。</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_4_1">
                    <el-radio value="是" size="large" class=""><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" class=""><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
                <el-col :span="8" class="text_is_on_the_left">
                  <div class="grid-content ep-bg-purple"/>
                  <span>进气口保持大气状态，查看压力显示值是否在1000±20mbar范围内</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_4_2">
                    <el-radio value="是" size="large" class=""><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" class=""><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
              </el-row>
              <el-row>
                <el-col :span="8" class="text_is_on_the_left" style="height: 50px">
                  <div class="grid-content ep-bg-purple"/>
                  <span>未通氮气时，打开氮气阀，氮气流量显示<br>是否为0-2slm</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_5_1">
                    <el-radio value="是" size="large" class=""><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" class=""><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
                <el-col :span="8" class="text_is_on_the_left">
                  <div class="grid-content ep-bg-purple"/>
                  <span>通入一定量的氮气，氮气流量是否有显示</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_5_2">
                    <el-radio value="是" size="large" class=""><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" class=""><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
              </el-row>
              <el-row>
                <el-col :span="8" class="text_is_on_the_left" style="height: 50px">
                  <div class="grid-content ep-bg-purple"/>
                  <span>未接通冷却水时，手控盒是否显示水冷报警</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_6_1">
                    <el-radio value="是" size="large" class=""><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" class=""><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
                <el-col :span="8" class="text_is_on_the_left">
                  <div class="grid-content ep-bg-purple"/>
                  <span>未接通冷却水时，前面板红色报警指示灯是否点亮。</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_6_2">
                    <el-radio value="是" size="large" class=""><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" class=""><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
              </el-row>
              <el-row>
                <el-col :span="8" class="text_is_on_the_left" style="height: 50px">
                  <div class="grid-content ep-bg-purple"/>
                  <span>接通冷却水后，手控盒水冷报警提示是否消失</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_7_1">
                    <el-radio value="是" size="large" class=""><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" class=""><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
                <el-col :span="8" class="text_is_on_the_left">
                  <div class="grid-content ep-bg-purple"/>
                  <span>接通冷却水后，前面板红色报警指示灯是否熄灭</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_7_2">
                    <el-radio value="是" size="large" class=""><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" class=""><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
              </el-row>
              <el-row>
                <el-col :span="8" class="text_is_on_the_left" style="height: 50px">
                  <div class="grid-content ep-bg-purple"/>
                  <span>上、下泵温度显示是否为室温</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_8_1">
                    <el-radio value="是" size="large" class=""><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" class=""><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
                <el-col :span="8" class="text_is_on_the_left">
                  <div class="grid-content ep-bg-purple"/>
                  <span>上下泵变频器频率与前面板贴膜型号是否一致</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_8_2">
                    <el-radio value="是" size="large" class=""><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" class=""><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
              </el-row>

            </el-col>
          </el-row>
          <!--机组启动检验-->
          <el-row>
            <el-col :span="2">
              <div class="grid-content ep-bg-purple"/>
              <div style="height:200px;display: flex;align-items: center; /* 垂直居中 */justify-content: center; /* 水平居中 */">
                <span class="fontSize text_is_vertical ">
                  机组启动检验
                </span>
              </div>
            </el-col>
            <el-col :span="22" >
              <!--机组启动检验-->
              <el-row>
                <el-col :span="8" class="text_is_on_the_left" style="height: 50px">
                  <div class="grid-content ep-bg-purple"/>
                  <span>上、下泵是否可以单独启动</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_9_1">
                    <el-radio value="是" size="large" class=""><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" class=""><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
                <el-col :span="8" class="text_is_on_the_left">
                  <div class="grid-content ep-bg-purple"/>
                  <span>没有氮气供应，机组运行后是否有氮气报警 ，前面板黄色报警灯是否点亮</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_9_2">
                    <el-radio value="是" size="large" class=""><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" class=""><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
              </el-row>
              <el-row>
                <el-col :span="8" class="text_is_on_the_left" style="height: 50px">
                  <div class="grid-content ep-bg-purple"/>
                  <span>按下急停按钮， 机组是否停止</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_10_1">
                    <el-radio value="是" size="large" class=""><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" class=""><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
                <el-col :span="8" class="text_is_on_the_left">
                  <div class="grid-content ep-bg-purple"/>
                  <span>按下急停后，前面板红色报警灯是否点亮</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_10_2">
                    <el-radio value="是" size="large" class=""><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" class=""><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
              </el-row>
              <el-row>
                <el-col :span="8" class="text_is_on_the_left" style="height: 50px">
                  <div class="grid-content ep-bg-purple"/>
                  <span>机组长时间暴漏大气时罗茨泵是否能自动降频保护，结束暴漏大气后罗茨泵是否可以自动重启</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_11_1">
                    <el-radio value="是" size="large" class=""><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" class=""><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
                <el-col :span="8" class="text_is_on_the_left">
                  <div class="grid-content ep-bg-purple"/>
                  <span>机组长时间暴漏大气时干泵是否能自动降频保护，结束暴漏大气后干泵是否可以自动升频。</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_11_2">
                    <el-radio value="是" size="large" class=""><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" class=""><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
              </el-row>
              <el-row>
                <el-col :span="8" class="text_is_on_the_left" style="height: 50px">
                  <div class="grid-content ep-bg-purple"/>
                  <span>漏电测试（泵供电为自耦变压器）将万用表串联至地与外壳之间（无油漆处），漏电流小于20MA</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-input
                      v-model="form9.input_value_12_1"
                      style="width: 100%;height: 48px"
                      clearable
                  />
                </el-col>
                <el-col :span="8" class="text_is_on_the_left">
                  <div class="grid-content ep-bg-purple"/>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                </el-col>
              </el-row>

            </el-col>
          </el-row>
          <!--远程控制功能检验-->
          <el-row>
            <el-col :span="2">
              <div class="grid-content ep-bg-purple"/>
              <div style="height:250px;display: flex;align-items: center; /* 垂直居中 */justify-content: center; /* 水平居中 */">
                <span class="fontSize text_is_vertical ">
                  远程控制功能检验
                </span>
              </div>
            </el-col>
            <el-col :span="22" >
              <!--远程控制功能检验-->
              <el-row>
                <el-col :span="8" class="text_is_on_the_left" style="height: 50px">
                  <div class="grid-content ep-bg-purple"/>
                  <span>通过远程是否可以启动和停止</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_13_1">
                    <el-radio value="是" size="large" ><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" ><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
                <el-col :span="8" class="text_is_on_the_left">
                  <div class="grid-content ep-bg-purple"/>
                  <span>无重度报警时点亮/有重度报警时熄灭</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_13_2">
                    <el-radio value="是" size="large" ><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" ><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
              </el-row>
              <el-row>
                <el-col :span="8" class="text_is_on_the_left" style="height: 50px">
                  <div class="grid-content ep-bg-purple"/>
                  <span>机组运行时点亮/泵停止时熄灭为合格</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_14_1">
                    <el-radio value="是" size="large" ><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" ><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
                <el-col :span="8" class="text_is_on_the_left">
                  <div class="grid-content ep-bg-purple"/>
                  <span>无排气压力报警时点亮/有排气压力报警时熄灭</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_14_2">
                    <el-radio value="是" size="large" ><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" ><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
              </el-row>
              <el-row>
                <el-col :span="8" class="text_is_on_the_left" style="height: 50px">
                  <div class="grid-content ep-bg-purple"/>
                  <span>下泵运行时点亮/下泵停止时熄灭</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_15_1">
                    <el-radio value="是" size="large" ><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" ><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
                <el-col :span="8" class="text_is_on_the_left">
                  <div class="grid-content ep-bg-purple"/>
                  <span>无氮气流量报警时点亮/有氮气流量报警时熄灭</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_15_2">
                    <el-radio value="是" size="large" ><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" ><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
              </el-row>
              <el-row>
                <el-col :span="8" class="text_is_on_the_left" style="height: 50px">
                  <div class="grid-content ep-bg-purple"/>
                  <span>上泵运行时点亮/上泵停止时熄灭</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_16_1">
                    <el-radio value="是" size="large" class=""><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" class=""><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
                <el-col :span="8" class="text_is_on_the_left">
                  <div class="grid-content ep-bg-purple"/>
                  <span>无冷却水报警时点亮/有冷却水报警时熄灭</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_16_2">
                    <el-radio value="是" size="large" class=""><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" class=""><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
              </el-row>
              <el-row>
                <el-col :span="8" class="text_is_on_the_left" style="height: 50px">
                  <div class="grid-content ep-bg-purple"/>
                  <span>无轻度报警时点亮/有轻度报警时熄灭</span>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                  <el-radio-group v-model="form9.radio_value_17_1">
                    <el-radio value="是" size="large" class=""><span style="font-size: 15px;">是</span></el-radio>
                    <el-radio value="否" size="large" class=""><span style="font-size: 15px;">否</span></el-radio>
                  </el-radio-group>
                </el-col>
                <el-col :span="8" class="text_is_on_the_left">
                  <div class="grid-content ep-bg-purple"/>
                </el-col>
                <el-col :span="4" >
                  <div class="grid-content ep-bg-purple"/>
                </el-col>
              </el-row>
            </el-col>
          </el-row>
        </el-main>
      </el-container>
    </div>
  </el-form>
</template>

<script setup lang="ts">
import {defineProps, reactive, watch,defineExpose} from "vue";
import axios from "axios";
import {ElMessage} from "element-plus";

const form9 = reactive({
  input_Case: '',/*Case*/
  input_Pump_set_number: '',/*泵组编号*/
  input_Inspectors: '',/*检验人*/
  input_Date: '',/*日期*/

  radio_value_1_1: '',/*主板各接插件插接位置是否正确，是否可靠连接（对照后附的主板接插件连接图）*/
  radio_value_1_2: '',/*上、下泵温度传感器屏蔽线是否接地*/
  radio_value_2_1: '',/*排气压力传感器接线是否正确，连接是否可靠*/
  radio_value_2_2: '',/*质量流量计接线是否正确，连接是否可靠*/
  radio_value_3_1: '',/*电源箱内接线正确、无虚连、松动,各断路器均已拨置ON的位置。*/
  radio_value_3_2: '',/*变频器箱内接线正确、无虚连、松动*/

  radio_value_4_1: '',/*机组上电后，手控盒是否点亮，手控盒图片版本是否与主板程序匹配。*/
  radio_value_4_2: '',/*进气口保持大气状态，查看压力显示值是否在1000±20mbar范围内*/
  radio_value_5_1: '',/*未通氮气时，打开氮气阀，氮气流量显示是否为0-2slm*/
  radio_value_5_2: '',/*通入一定量的氮气，氮气流量是否有显示*/
  radio_value_6_1: '',/*未接通冷却水时，手控盒是否显示水冷报警*/
  radio_value_6_2: '',/*未接通冷却水时，前面板红色报警指示灯是否点亮。*/
  radio_value_7_1: '',/*接通冷却水后，手控盒水冷报警提示是否消失*/
  radio_value_7_2: '',/*接通冷却水后，前面板红色报警指示灯是否熄灭*/
  radio_value_8_1: '',/*上、下泵温度显示是否为室温*/
  radio_value_8_2: '',/*上下泵变频器频率与前面板贴膜型号是否一致*/

  radio_value_9_1: '',/*上、下泵是否可以单独启动*/
  radio_value_9_2: '',/*没有氮气供应，机组运行后是否有氮气报警 ，前面板黄色报警灯是否点亮*/
  radio_value_10_1: '',/*按下急停按钮， 机组是否停止*/
  radio_value_10_2: '',/*按下急停后，前面板红色报警灯是否点亮*/
  radio_value_11_1: '',/*机组长时间暴漏大气时罗茨泵是否能自动降频保护，结束暴漏大气后罗茨泵是否可以自动重启*/
  radio_value_11_2: '',/*机组长时间暴漏大气时干泵是否能自动降频保护，结束暴漏大气后干泵是否可以自动升频。*/
  input_value_12_1: '',/*漏电测试（泵供电为自耦变压器）将万用表串联至地与外壳之间（无油漆处），漏电流小于20MA*/

  radio_value_13_1: '',/*通过远程是否可以启动和停止*/
  radio_value_13_2: '',/*无重度报警时点亮/有重度报警时熄灭*/
  radio_value_14_1: '',/*机组运行时点亮/泵停止时熄灭为合格*/
  radio_value_14_2: '',/*无排气压力报警时点亮/有排气压力报警时熄灭*/
  radio_value_15_1: '',/*下泵运行时点亮/下泵停止时熄灭*/
  radio_value_15_2: '',/*无氮气流量报警时点亮/有氮气流量报警时熄灭*/
  radio_value_16_1: '',/*上泵运行时点亮/上泵停止时熄灭*/
  radio_value_16_2: '',/*无冷却水报警时点亮/有冷却水报警时熄灭*/
  radio_value_17_1: '',/*无轻度报警时点亮/有轻度报警时熄灭*/

})
const props = defineProps({
  input_Case: {
    type: String,
    default: ''
  }
})
watch(() => props.input_Case, (newValue) => {
  axios.get('http://192.168.110.84:8081/part9/value/' + newValue)
      .then(response => {
        // 处理响应
        const data = response.data.data;
        if (response.data.code === 1) {
          if(data !== null){
          // 遍历data对象并更新form
          Object.keys(data).forEach(key => {
            form9[key] = data[key];
          });}else {
            resetForm()
          }
        } else {
          ElMessage.error(response.data.message)
        }
      });
})
// 方法需要通过 defineExpose 暴露
defineExpose({
  someMethod
});

function someMethod() {
  axios.post('http://192.168.110.84:8081/part9/update', form9)
      .then(response => {
        // 请求成功后的处理
        console.log(response.data);
        if (response.data.code === 1) {
          console.log("表9"+response.data.data)
        }else {
          ElMessage.error(response.data.message)
        }
      });
}
function resetForm() {
  form9.input_Case = ''; /* Case */
  form9.input_Pump_set_number = ''; /* 泵组编号 */
  form9.input_Inspectors = ''; /* 检验人 */
  form9.input_Date = ''; /* 日期 */

  form9.radio_value_1_1 = ''; /* 主板各接插件插接位置是否正确，是否可靠连接（对照后附的主板接插件连接图） */
  form9.radio_value_1_2 = ''; /* 上、下泵温度传感器屏蔽线是否接地 */
  form9.radio_value_2_1 = ''; /* 排气压力传感器接线是否正确，连接是否可靠 */
  form9.radio_value_2_2 = ''; /* 质量流量计接线是否正确，连接是否可靠 */
  form9.radio_value_3_1 = ''; /* 电源箱内接线正确、无虚连、松动,各断路器均已拨置ON的位置。 */
  form9.radio_value_3_2 = ''; /* 变频器箱内接线正确、无虚连、松动 */

  form9.radio_value_4_1 = ''; /* 机组上电后，手控盒是否点亮，手控盒图片版本是否与主板程序匹配。 */
  form9.radio_value_4_2 = ''; /* 进气口保持大气状态，查看压力显示值是否在1000±20mbar范围内 */
  form9.radio_value_5_1 = ''; /* 未通氮气时，打开氮气阀，氮气流量显示是否为0-2slm */
  form9.radio_value_5_2 = ''; /* 通入一定量的氮气，氮气流量是否有显示 */
  form9.radio_value_6_1 = ''; /* 未接通冷却水时，手控盒是否显示水冷报警 */
  form9.radio_value_6_2 = ''; /* 未接通冷却水时，前面板红色报警指示灯是否点亮。 */
  form9.radio_value_7_1 = ''; /* 接通冷却水后，手控盒水冷报警提示是否消失 */
  form9.radio_value_7_2 = ''; /* 接通冷却水后，前面板红色报警指示灯是否熄灭 */
  form9.radio_value_8_1 = ''; /* 上、下泵温度显示是否为室温 */
  form9.radio_value_8_2 = ''; /* 上下泵变频器频率与前面板贴膜型号是否一致 */

  form9.radio_value_9_1 = ''; /* 上、下泵是否可以单独启动 */
  form9.radio_value_9_2 = ''; /* 没有氮气供应，机组运行后是否有氮气报警 ，前面板黄色报警灯是否点亮 */
  form9.radio_value_10_1 = ''; /* 按下急停按钮， 机组是否停止 */
  form9.radio_value_10_2 = ''; /* 按下急停后，前面板红色报警灯是否点亮 */
  form9.radio_value_11_1 = ''; /* 机组长时间暴漏大气时罗茨泵是否能自动降频保护，结束暴漏大气后罗茨泵是否可以自动重启 */
  form9.radio_value_11_2 = ''; /* 机组长时间暴漏大气时干泵是否能自动降频保护，结束暴漏大气后干泵是否可以自动升频。 */
  form9.input_value_12_1 = ''; /* 漏电测试（泵供电为自耦变压器）将万用表串联至地与外壳之间（无油漆处），漏电流小于20MA */

  form9.radio_value_13_1 = ''; /* 通过远程是否可以启动和停止 */
  form9.radio_value_13_2 = ''; /* 无重度报警时点亮/有重度报警时熄灭 */
  form9.radio_value_14_1 = ''; /* 机组运行时点亮/泵停止时熄灭为合格 */
  form9.radio_value_14_2 = ''; /* 无排气压力报警时点亮/有排气压力报警时熄灭 */
  form9.radio_value_15_1 = ''; /* 下泵运行时点亮/下泵停止时熄灭 */
  form9.radio_value_15_2 = ''; /* 无氮气流量报警时点亮/有氮气流量报警时熄灭 */
  form9.radio_value_16_1 = ''; /* 上泵运行时点亮/上泵停止时熄灭 */
  form9.radio_value_16_2 = ''; /* 无冷却水报警时点亮/有冷却水报警时熄灭 */
  form9.radio_value_17_1 = ''; /* 无轻度报警时点亮/有轻度报警时熄灭 */
}
</script>

<style scoped>
.el-col {
  border: black 1px solid;
}

.text_is_vertical {
  writing-mode: vertical-lr; /* 从上到下竖直排列文字 */
  text-orientation: mixed; /* 保持字符的原始方向 */
}

.fontSize {
  font-size: 20px;
}

.smallOptions {
  height: 20px;
}

.text_is_on_the_left {
  text-align: left;
}

.the_font_is_bold {
  font-weight: bold;
}

.demo-datetime-picker {
  display: flex;
  width: 100%;
  padding: 0;
  flex-wrap: wrap;
}

.demo-datetime-picker .block {
  padding: 30px 0;
  text-align: center;
  border-right: solid 1px var(--el-border-color);
  flex: 1;
}

.demo-datetime-picker .block:last-child {
  border-right: none;
}

.demo-datetime-picker .demonstration {
  display: block;
  color: var(--el-text-color-secondary);
  font-size: 14px;
  margin-bottom: 20px;
}
</style>